<?php 
namespace app\home\model;
use think\Model;

class NewsContent extends Model
{
	public function selmy($id)
	{
		return $this->where('parentid','in',$id)->order('time','desc');
	}
	public function sel3()
	{
		return $this->where('id','<',4)->select();
	}
	public function selone($id)
	{
		return $this->where('id',$id)->select();
	}
}